(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var n,aa=function(a){var b=0;return function(){return bc&&(c=Math.max(c+e,0));ce;e++){var f=c.concat(d[e].split(""));Za[e]=f;for(var g=0;g>2;k=(k&3)<<4|l>>4;l=(l&15)<<2|h>>6;h&=63;f||(h=64,e||(l=64));c.push(b[g],b[k],b[l]||"",b[h]||"")}return c.join("")};try{return JSON.stringify(this.m&&this.m,hb)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.m&&this.m,hb)};var hb=function(a,b){return"number"!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)},ib=function(a,b){return new a(b?JSON.parse(b):null)};K.prototype.toString=function(){return this.m.toString()}; K.prototype.getExtension=function(a){cb(this);this.o||(this.o={});var b=a.yc;return a.Ac?a.Eb()?(this.o[b]||(this.o[b]=Ca(this.u[b]||[],function(c){return new a.tb(c)})),this.o[b]):this.u[b]=this.u[b]||[]:a.Eb()?(!this.o[b]&&this.u[b]&&(this.o[b]=new a.tb(this.u[b])),this.o[b]):this.u[b]};K.prototype.clone=function(){return new this.constructor(jb(this.m))}; var jb=function(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c=b.Ia&&b.cancel())}this.cb?this.cb.call(this.Wa,this):this.Qa=!0;this.$||(a=new $b(this),ac(this),bc(this,!1,a))}};R.prototype.Va=function(a,b){this.Ha=!1;bc(this,a,b)}; var bc=function(a,b,c){a.$=!0;a.s=c;a.oa=!b;cc(a)},ac=function(a){if(a.$){if(!a.Qa)throw new dc(a);a.Qa=!1}};R.prototype.callback=function(a){ac(this);bc(this,!0,a)};var ec=function(a,b,c){a.Da.push([b,c,void 0]);a.$&&cc(a)};R.prototype.then=function(a,b,c){var d,e,f=new Q(function(g,h){d=g;e=h});ec(this,d,function(g){g instanceof $b?f.cancel():e(g)});return f.then(a,b,c)};R.prototype.$goog_Thenable=!0; var fc=function(a){return Da(a.Da,function(b){return"function"===typeof b[1]})},cc=function(a){if(a.Ea&&a.$&&fc(a)){var b=a.Ea,c=gc[b];c&&(x.clearTimeout(c.Aa),delete gc[b]);a.Ea=0}a.v&&(a.v.Ia--,delete a.v);b=a.s;for(var d=c=!1;a.Da.length&&!a.Ha;){var e=a.Da.shift(),f=e[0],g=e[1];e=e[2];if(f=a.oa?g:f)try{var h=f.call(e||a.Wa,b);void 0!==h&&(a.oa=a.oa&&(h==b||h instanceof Error),a.s=b=h);if(Fb(b)||"function"===typeof x.Promise&&b instanceof x.Promise)d=!0,a.Ha=!0}catch(k){b=k,a.oa=!0,fc(a)||(c=!0)}}a.s= b;d&&(h=C(a.Va,a,!0),d=C(a.Va,a,!1),b instanceof R?(ec(b,h,d),b.qb=!0):b.then(h,d));c&&(b=new hc(b),gc[b.Aa]=b,a.Ea=b.Aa)},dc=function(){E.call(this)};D(dc,E);dc.prototype.message="Deferred has already fired";dc.prototype.name="AlreadyCalledError";var $b=function(){E.call(this)};D($b,E);$b.prototype.message="Deferred was canceled";$b.prototype.name="CanceledError";var hc=function(a){this.Aa=x.setTimeout(C(this.ec,this),0);this.wb=a};hc.prototype.ec=function(){delete gc[this.Aa];throw this.wb;}; var gc={};var lc=function(a){var b={},c=b.document||document,d=Qa(a).toString(),e=nb(document,"SCRIPT"),f={fb:e,jb:void 0},g=new R(f),h=null,k=null!=b.timeout?b.timeout:5E3;02*this.i&&Tc(this),!0):!1};var Tc=function(a){if(a.i!=a.j.length){for(var b=0,c=0;b=d.j.length)throw Qc;var f=d.j[b++];return a?f:d.F[f]};return e}; var U=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Uc=function(a){if(a.D&&"function"==typeof a.D)return a.D();if("string"===typeof a)return a.split("");if(wa(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.ia=b}else a.ia=null},$c=function(a,b,c){W(a);b instanceof X?(a.A=b,a.A.Pa(a.C)):(c||(b=bd(b,gd)),a.A=new X(b,a.C))};V.prototype.getQuery=function(){return this.A.toString()};V.prototype.removeParameter=function(a){W(this);this.A.remove(a);return this};var W=function(a){if(a.Fb)throw Error("Tried to modify a read-only Uri");}; V.prototype.Pa=function(a){this.C=a;this.A&&this.A.Pa(a)}; var ad=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},bd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,hd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},hd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},cd=/[#\/\?@]/g,ed=/[#\?:]/g,dd=/[#\?]/g,gd=/[#\?@]/g,fd=/#/g,X=function(a,b){this.i=this.h=null;this.B=a||null;this.C=!!b},Y=function(a){a.h||(a.h=new Sc,a.i=0,a.B&&Xc(a.B,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g, " ")),c)}))};n=X.prototype;n.add=function(a,b){Y(this);this.B=null;a=id(this,a);var c=this.h.get(a);c||this.h.set(a,c=[]);c.push(b);this.i+=1;return this};n.remove=function(a){Y(this);a=id(this,a);return this.h.T(a)?(this.B=null,this.i-=this.h.get(a).length,this.h.remove(a)):!1};n.clear=function(){this.h=this.B=null;this.i=0};n.T=function(a){Y(this);a=id(this,a);return this.h.T(a)};n.forEach=function(a,b){Y(this);this.h.forEach(function(c,d){F(c,function(e){a.call(b,e,d,this)},this)},this)}; n.I=function(){Y(this);for(var a=this.h.D(),b=this.h.I(),c=[],d=0;dh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*h)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; n.get=function(a,b){for(var c=a+"=",d=(this.N.cookie||"").split(";"),e=0,f;em;m+=4)r[m/4]=p[m]<<24|p[m+1]<<16|p[m+2]<<8|p[m+3];for(m=16;80>m;m++)p=r[m-3]^r[m-8]^r[m-14]^r[m-16],r[m]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],z=e[2],N=e[3],vb=e[4];for(m=0;80>m;m++){if(40>m)if(20>m){var ba=N^v&(z^N);var Pa=1518500249}else ba=v^z^N,Pa=1859775393;else 60>m?(ba=v&z|N&(v|z),Pa=2400959708):(ba=v^z^N,Pa=3395469782);ba=((p<<5|p>>>27)& 4294967295)+ba+vb+Pa+r[m]&4294967295;vb=N;N=z;z=(v<<30|v>>>2)&4294967295;v=p;p=ba}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+z&4294967295;e[3]=e[3]+N&4294967295;e[4]=e[4]+vb&4294967295}function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var m=[],v=0,z=p.length;vl?c(h,56-l):c(h,64-(l-56));for(var m=63;56<=m;m--)f[m]=r&255,r>>>=8;b(f);for(m=r=0;5>m;m++)for(var v=24;0<=v;v-=8)p[r++]=e[m]>>v&255;return p}for(var e=[],f=[],g=[],h=[128],k=1;64>k;++k)h[k]=0;var l,u;a();return{reset:a,update:c,digest:d,digestString:function(){for(var p=d(),r="",m=0;m=h.length)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}g=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=g;h=a.serverUri||"//www.google.com/tools/feedback";var k=d.GOOGLE_FEEDBACK_START;if(a.forceNewHelpPanel){var l= (e?new qb(pb(e)):Ba||(Ba=new qb)).createElement("SCRIPT");f&&l.setAttribute("nonce",f);l.onload=function(){d.startHelpPanel({helpcenter:a.helpCenterPath.split("/")[1],apiKey:"testpage",locale:a.locale,enableSendFeedback:a.enableSendFeedback||!1,helpApiData:{helpApiConfig:a,productData:b,productWindow:c}})};J(l,Ta(Ma(new H(G,"https://www.gstatic.com/support/help/staging/main_frame/help_panel_staging_binary.js"))));e.body.appendChild(l)}else if(k)k.apply(d,g);else{g=h+"/load.js?";for(l in a)h=a[l], null==h||xa(h)||(g+=encodeURIComponent(l)+"="+encodeURIComponent(h)+"&");l=(e?new qb(pb(e)):Ba||(Ba=new qb)).createElement("SCRIPT");f&&l.setAttribute("nonce",f);J(l,Bd(g));e.body.appendChild(l)}};y("userfeedback.api.startFeedback",Cd,void 0);var Dd=function(a,b){var c=a.serverUri||"//www.gstatic.com/feedback";x.GOOGLE_HELP_SESSION_ARGUMENTS=arguments;var d=nb(document,"SCRIPT");c=Bd(c+"/session_load.js");J(d,c);window.document.body.appendChild(d)};y("userfeedback.api.help.resumeOpenHelpSession",Dd,void 0);y("userfeedback.api.help.startHelpWithChatSupport",function(a,b){a.flow="help";Cd(a,b)},void 0);var Ed=function(a,b){Dd(a,b);var c=a.serverUri||"//www.google.com/tools/feedback";x.GOOGLE_HELP_CHAT_ARGUMENTS=arguments;var d=nb(document,"SCRIPT");c=Bd(c+"/chat_load.js");J(d,c);window.document.body.appendChild(d)};y("userfeedback.api.help.loadChatSupport",Ed,void 0);var Fd=Date.now(),Gd=/support\/content\/resources\/(non)?prod\/js\/survey\/survey_(dark|light)_(ltr|rtl)/gi,Z=function(a,b){this.Lb=a;this.Nb=b.receiverUri;this.ba=b.locale||b.locale||"en".replace(/-/g,"_");this.J=b.window||b.window||top;this.Na=b.productData||b.productData||{};this.Ka=b.U||b.environment||"https://clients6.google.com";this.za=b.zc||b.helpCenterPath||"";this.K=b.apiKey||b.apiKey||"";this.Pb=b.Gc||b.renderApiUri||"";this.bb=b.nonce||b.nonce||ua(this.J)}; Z.prototype.ac=function(a){Hd();Cd(Id(this,a),this.Na,this.J)};Z.prototype.bc=function(a,b){b=b||{};Ob(qd(a,{apiKey:this.K,document:this.J.document,U:this.Ka,aa:this.za,locale:this.ba,P:b.stepId,source:b.source,ka:b.theme}));window.na||(window.na={});window.na.Cc=b.onerror;window.na.Dc=b.ondismiss;window.na.Fc=b.onstepenter;window.na.Ec=b.onload};Z.prototype.dc=function(){var a=A("help.guide.dismissFlow");a&&a()};Z.prototype.cc=function(a){Hd();Cd(Jd(this,a),this.Na,this.J)}; var Id=function(a,b){b=b||{};return{bucket:b.bucket,locale:a.ba,callback:b.onend||B,serverUri:b.serverUri||a.Nb,productId:a.Lb,productVersion:b.productVersion,authuser:b.authuser,abuseLink:b.abuseLink,customZIndex:b.customZIndex,flow:"wizard",enableAnonymousFeedback:b.enableAnonymousFeedback,allowNonLoggedInFeedback:b.allowNonLoggedInFeedback,tinyNoPointer:b.tinyNoPointer,disableScreenshotAtStartup:b.disableScreenshotAtStartup}},Jd=function(a,b){var c=b||{};b=Id(a,b);Ja(b,{anchor:c.anchor,contactBucket:c.contactBucket, flow:"help",helpCenterContext:c.context,helpCenterPath:a.za,enableSendFeedback:c.enableSendFeedback||!1,enableCache:c.enableCache,defaultHelpArticleId:c.defaultHelpArticleId,newApi:!0,suggestHost:c.suggestHost,renderApiUri:a.Pb,symptom:c.symptom,useInappHelpPanel:c.useInappHelpPanel||!1,directToGetHelp:c.directToGetHelp||!1,forceNewHelpPanel:c.forceNewHelpPanel||!1,startedFromHelpApi:!0,domain:a.J.location.protocol+"//"+a.J.location.host});return b};n=Z.prototype; n.Hb=function(a){var b=a||{};a=Jd(this,a);Ja(a,{escalationJSONString:b.escalationJSONString});Ed(a,this.Na)}; n.Rb=function(a){var b=Date.now();Kd(this,a).then(function(c,d){var e=O(d,Bc,2);if(e){var f=Ld(e),g;O(d,Cc,1)&&eb(O(d,Cc,1),1)&&(g=eb(O(d,Cc,1),1));var h={surveyData:{surveyData:d.gb(),triggerRequestTime:b,apiKey:this.K,nonProd:a.nonProd,language:eb(e,8),libraryVersion:346500390,surveyMetadata:{triggerId:a.triggerId,sessionId:g,surveyId:eb(d,5)}},triggerId:a.triggerId,surveyError:null};setTimeout(function(){return c(h)},1E3*f)}else h={surveyData:null,triggerId:a.triggerId,surveyError:{reason:"No eligible surveys."}}, c(h)}.bind(this,a.callback),function(c){a.callback({surveyData:null,triggerId:a.triggerId,surveyError:{reason:"Failed to trigger survey: "+c}})})}; n.Kb=function(a){if(a.surveyData){var b=a.surveyData&&a.surveyData.surveyData&&a.surveyData.surveyData.surveyData?a.surveyData.surveyData:a.surveyData;switch(a.defaultStyle){case 1:var c;a.promptStyle=null!=(c=a.promptStyle)?c:2;var d;a.completionStyle=null!=(d=a.completionStyle)?d:2;break;default:var e;a.promptStyle=null!=(e=a.promptStyle)?e:1;var f;a.completionStyle=null!=(f=a.completionStyle)?f:1}c=O(ib(Hc,b.surveyData),Bc,2);a:if(d=a.promptStyle,e=db(O(c,yc,3),4),d){switch(d){case 1:d=e.includes(1); break a;case 2:d=e.includes(2);break a}d=!1}else d=!0;if(d){a:if(d=a.completionStyle,c=db(O(c,wc,2),4),d){switch(d){case 1:c=c.includes(1);break a;case 2:c=c.includes(2);break a}c=!1}else c=!0;c?Md(this,a,b):a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid completion style"})}else a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(a.surveyData,{reason:"Invalid prompt style"})}}; n.vb=function(a){window.hatsNextGlobalObject&&window.hatsNextGlobalObject.dismissSurvey&&window.hatsNextGlobalObject.dismissSurvey(a.surveyMetadata)};n.Ob=function(a,b,c){Nd().register(a,b,c)};n.Ab=function(a,b){Nd().execute(a,b)};n.Db=function(a){return Nd().Ba(a)}; var Kd=function(a,b){var c=new mc({Wb:b.nonProd?"https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.K,Ta:b.authuser});a:{var d=[];var e=vd(String(x.location.href)),f;(f=x.__SAPISID||x.__APISID||x.__OVERRIDE_SID)?f=!0:(f=new jd(document),f=f.get("SAPISID")||f.get("APISID")||f.get("__Secure-3PAPISID")||f.get("SID"),f=!!f);if(f&&(f=(e=0==e.indexOf("https:")||0==e.indexOf("chrome-extension:")||0==e.indexOf("moz-extension:"))?x.__SAPISID:x.__APISID,f|| (f=new jd(document),f=f.get(e?"SAPISID":"APISID")||f.get("__Secure-3PAPISID")),f)){e=e?"SAPISIDHASH":"APISIDHASH";var g=String(x.location.href);d=g&&f&&e?[e,yd(vd(g),f,d||null)].join(" "):null;break a}d=null}d=d?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous";e=(new S).setSeconds(-60*(new Date).getTimezoneOffset());e=M(e,2,0,0);f=new sc;e=gb(f,3,e);f=new uc;f=M(f,1,1,0);f=M(f,4,346500390,0);f=fb(f,3,[1,2]);g=b.preferredSurveyLanguageList&&0b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey was triggered before the most recent survey event. Please re-trigger the survey."});var c=!1;break a}}else if(Fd>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey must be triggered after initializing the help API."}); c=!1;break a}c=Date.now()-b.triggerRequestTime;864E5